<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<html>
<head>
    <title>Title</title>
    <script src="${ctx}/bootstrap/jquery-1.9.1.min.js"></script>
    <link rel="stylesheet" href="${ctx}/css/index_work.css">
</head>
<body>
<form action="${ctx}/save.do" method="post" enctype="multipart/form-data">
    <br>名称：<input type="text" name="title" required>
    <br>内容：<textarea name="content"></textarea>
    <br>头像：<input type="file" name="file">
    <br>排序：<input type="text" name="paixu">
    <br><input type="submit" value="保存">
</form>
</body>
</html>
